﻿// *************************************************************************************************
// Project: RealSenseLight
// Namespace: RealSenseLight
// File: App.xaml.cs  Author: Peter O'Hanlon
// Copyright © Peter O'Hanlon 2014-2015
// Date: 2014/12/24 09:51
// *************************************************************************************************
using Autofac;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using RealSense.Light.AutoFac;
using RealSenseLight.ViewModels;

namespace RealSenseLight
{
  /// <summary>
  /// Interaction logic for App.xaml
  /// </summary>
  public partial class App : Bootstrapper
  {
    protected override void Configure(ContainerBuilder builder)
    {
      base.Configure(builder);

      builder.RegisterType<SpeechSynthesizerViewModel>().As<ISpeechSynthesizerViewModel>().SingleInstance();
      builder.RegisterType<SdkViewModel>().As<ISdkViewModel>().SingleInstance();
    }
  }
}